package com.xzy.jdbc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author xzy
 * @date 2021-01-14 20:34
 * 说明：jdbc相关配置
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "jdbc")
public class JdbcProperties {
    private String url;
    private String username;
    private String password;
    private String driverName;
}
